#include <iostream>
using namespace std;

float fahrenheit(int celsius);
int main(void)
{
	int celsius;
	float fahren;

	cout << "Please enter a Celsius value:";
	cin >> celsius;
	fahren = fahrenheit(celsius);
    cout << "\n" << celsius << " degrees Celsius is " << fahren
		 << " degrees Fahrenheit" << endl;
	return 0;
}

float fahrenheit(int celsius)
{
	return (celsius * 1.8 + 32.0);
}
